package bjut.core.registry;

import bjut.core.bean.BeanDefinition;
import bjut.core.exception.BeansException;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/6 21:37
 */
public interface BeanDefinitionRegistry {

    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);


    BeanDefinition getBeanDefinition(String beanName) throws BeansException;

    boolean containsBeanDefinition(String beanName);


    String[] getBeanDefinitionNames();

}
